Copyright: Copyright © Global Majic Software, Inc. 1995


Air Events
Events:

Change

Click

GotFocus

LostFocus


Air Properties
Properties:

AltBarometer	HSICompass	Left
AltBarometricPressure	HSICourseDelta	MouseControl
BackColor	HSICourseDeviation	MousePointer
Bank	HSICourseDisplay	Name
BevelInner	HSICourseHeading	Pitch
BevelOuter	HSIDistance	TabIndex
BevelWidth	HSIDistanceDisplay	TabStop
BorderWidth	HSIGlideSlopeDelta	Tag
CompassStyle	HSIGlideSlopeDeviation	Top
DisplayMode	HSINavigationSource	Turn
Enabled	HSISpeed	Value
FontSize	HSITime	Visible
Height	HSITimeSpeedDisplay	Width
HelpContextID	Inclinometer
HSIBearing	Index


Aircraft Instruments Control
   Aircraft Instrument Control

Properties	Events

Description:

Aircraft Instrument Controls display a variety of small airplane flight instruments including compass, heading indicator, altimeter, vertical speed indicator, airspeed indicator, horizontal situation indicator, artificial horizon, and coordinated turn indicator.  The controls can be used as input controls when MouseControl is set to True.  The controls include bevels for a 3D appearance.


   Car Gauges Control

Properties	Events

Description:

Car Gauge Instrument Controls display a variety of automobile instruments including tachometer, speedometer, fuel level, oil pressure, amp gauge,  and water temperature.  The controls can be used as input controls when MouseControl is set to True.  The controls include bevels for a 3D appearance.


Car Properties
Properties:

BackColor	FontSize	TabIndex
BevelInner	GaugeValue	TabStop
BevelOuter	Height	Tag
BevelWidth	HelpContextID	Top
BorderWidth	Index	Visible
DisplayMode	Left	Width
MouseControl	MousePointer
Enabled	Name


Contents
Global Majic Software, Inc.    Custom Controls

Instrumentation Custom Control Library  Ver 2.0

Aircraft Instruments Control

Car Gauges Control

Gauge Control

Knob Control

LED Control

Odometer Control

Selector Control

Slider Control

Toggle Switch Control

What Is Shareware?

Why Register?

Registration.

Registration For Compuserve Users

Product Support

Copyright


Copyright
COPYRIGHT INFORMATION

All Global Majic Software, Inc. software programs, shareware, and freeware are protected under the copyright laws of the United States and foreign countries. All rights are reserved to Global Majic Software, Inc. Violations of copyright laws are investigated by the FBI. Distribution of Global Majic Software, Inc. products implies that you have read and agreed to the distribution terms described below:

INTENT

Global Majic Software, Inc. seeks to distribute its shareware as widely as possible. However, we want the end-users of our software to be properly informed that it is shareware.

DISTRIBUTOR INFORMATION AND LICENSE INFORMATION

The license information and distribution requirements in this document supersede all previous license statements. To continue to distribute Global Majic Software, Inc. products, you must adhere to the licensing and distribution requirements below.

If you are a mail order or BBS-type distributor of shareware software, you may distribute these programs as they are, without any changes other than expanding files contained in the ZIP archives. However, you have the responsibility to check from time to time, at a minimum interval of 6 months, for new versions of these programs, and to update your copies in a timely manner. Global Majic Software, Inc. will gladly send you a diskette containing the current versions on request.

You must fully identify all Global Majic Software, Inc. programs in your advertising, by the program's full name and version, and indicate the registration fee in the program description. The words Global Majic Software, Inc. must appear in all program descriptions.

SHAREWARE DISCLOSURE REQUIRED

All advertising and packaging information including references to Global Majic Software, Inc. products must contain a statement explaining the shareware concept (see Registration). Specifically, that statement must explain that shareware software MUST be registered by the user, after a trial period, by paying a registration fee, and that all monies paid for the shareware version are duplication and distribution charges only. All such statements must be clearly displayed in a position where they are likely to be read by potential customers.

RETAIL RACK AND CD-ROM DISTRIBUTION

If you distribute shareware in a retail setting in racks, store displays, vending machines, at computer fairs, or in any way other than normal BBS or catalog-based sales, you must contact Global Majic Software, Inc. for permission to distribute any Global Majic Software, Inc. program. Rack or retail-like sales require a special distribution license, normally requiring royalties paid to Global Majic Software, Inc. If you distribute shareware on CD-ROM disks, you must also contact Global Majic Software, Inc. before including any Global Majic Software, Inc. shareware programs on a CD-ROM disk. Normally, permission is granted, but current versions must be included and all old versions of any Global Majic Software, Inc. program removed from any CD-ROM disk containing Global Majic Software, Inc. products.


   Gauge Control

Properties	Events

Description:

Generic Gauge Control is a highly customizable gauge or meter control.  Properties are provided to modify gauge scales, tics, needles, annulars, captions, border and background.  The mouse can optionally be used to change needle values.

The properties which are used for sizing and positioning tics, annulars, needles, captions and hubs generally have a value between -1 and +1 which corresponds to the size of the control  These units are used as opposed to pixels or twips in order to simplify resizing the control at design time.  For example, the two images below are snap shots of the same control after it has been stretched in design mode.  No property modifications necessary.

Scales:

Scales are used to define the extent of the units displayed by the gauge, the location of the gauge center, and the gauge's start and stop angles.  For example, the following snap shots are of the same control with varying start-stop angles, start-stop values, and scale positions.

The control will allow multiple scales per gauge as shown in the following snap shots.

Needles:

As shown in previous examples, needles can be displayed in a variety of shapes and sizes.  Properties are provided to modify the needle's style, length, width, color and associated scale.  User defined needle shapes can be specified as demonstrated in the pitch and roll indicators.  Multiple needles can be placed on a single gauge as shown below:

Tics:

Tics are used to mark intervals on the gauge face.  Properties are provided to set the tic's style, start-stop values, interval, inner-outer radii, width, color, label positions, and associated scale.  The following snap shots indicate the flexibility provided with the tic properties:

Annulars:

Annulars are used for aesthetics as well as indicators of operating ranges.  Properties are provided to modify annular's start-stop values, inner-outer radii, color, and associated scale.  Multiple annular regions can be placed on a single gauge as shown below:

Captions:

The gauge can be embellished with multiple captions to indicate the type of measurement being displayed, units used or any other informative or decorative labelling.


Gauge Properties
Properties

AnnularColor	Height	ScaleOriginX
AnnularID	HelpContextID	ScaleOriginY
AnnularInnerRadius	HubColor	Scales
AnnularOuterRadius	HubID	ScaleStartAngle
Annulars	Hubs	ScaleStopAngle
AnnularScaleID	HubScaleID	Shape
AnnularStartValue	Index	TabIndex
AnnularStopValue	Left	TabStop
BackgroundColor	MouseControl	Tag
BackgroundPicture	MousePointer	TicColor
BevelInner	Name	TicDeltaValue
BevelOuter	NeedleColor	TicID
BevelWidth	NeedleID	TicInnerRadius
BorderType	NeedleLength	TicLabel
BorderWidth	Needles	TicLabelRadius
Caption	NeedleScaleID	TicOuterRadius
CaptionColor	NeedleStyle	Tics
CaptionID	NeedleValue	TicScaleID
Captions	NeedleWidth	TicStartValue
CaptionX	OutlineAlign	TicStopValue
CaptionY	OutlineColor	TicStyle
Enabled	OutlineTitle	TicWidth
FrameColor	OutlineWidth	Top
FramePicture	ScaleDirection	Visible
FrameScaleX	ScaleID	Width
FrameScaleY	ScaleMaxValue
FrameStyle	ScaleMinValue


   Knob Control

Properties	Events

Description:

Knob Control is a highly customizable knob or dial control.  Properties are provided to modify knob style, mark, scale, tics, annulars, captions, border and background.  The mouse may optionally be used to change knob values.  Additionally, there are snap and multiturn functions.

The properties which are used for sizing and positioning tics, annulars, needles, captions and hubs generally have a value between -1 and +1 which corresponds to the size of the control  These units are used as opposed to pixels or twips in order to simplify resizing the control at design time.  For example, the two images below are snap shots of the same control after it has been stretched in design mode.  No property modifications necessary.

Scale:

Scale is used to define the extent of the units displayed on the knob, the location of the knob center, and the knob's start and stop angles.  For example, the following snap shots are of the same control with varying start-stop angles, start-stop values, and scale positions.

Knobs:

As shown in previous examples, there are several styles of knobs.  Properties are provided to modify the knob's style, inner-outer radii, width, and color.  Additionally, user defined knob shapes may be specified.  Some examples are shown below:

Mark:

Each knob may be adorned with a single mark.  Properties are provided to modify the mark's style, inner-outer radii, width, and color.  Additionally, user defined mark shapes may be incorporated into the control.  Some examples are shown below:

Tics:

Tics are used to mark intervals on the control face.  Properties are provided to set the tic's style, start-stop values, interval, inner-outer radii, width, color, and label positions.  The following snap shots indicate the flexibility provided with the tic properties:

Annulars:

Annulars are used for aesthetics as well as indicators of operating ranges.  Properties are provided to modify annular's start-stop values, inner-outer radii, and color.  Multiple annular regions can be placed on a single control as shown below:

Captions:

The control can be embellished with multiple captions to indicate the type of measurement being displayed, units used or any other informative or decorative labelling.


Knob Events
Events:

Change

Click

GotFocus

LostFocus

Mouse

MouseMove

Turn


Knob Properties
Properties:

AnnularColor	Height	ScaleDirection
AnnularID	Index	ScaleMaxValue
AnnularInnerRadius	KnobColor	ScaleMinValue
AnnularOuterRadius	KnobMultiTurn	ScaleOriginX
Annulars	KnobMultiTurnValue	ScaleOriginY
AnnularStartValue	KnobRadius	ScaleStartAngle
AnnularStopValue	KnobSnap	ScaleStopAngle
BackgroundColor	KnobSnapIncrement	TabIndex
BackgroundPicture	KnobStyle	TabStop
BevelInner	KnobUserDefined	Tag
BevelOuter	KnobValue	TicColor
BevelWidth	Left	TicDeltaValue
BorderType	MarkColor	TicID
BorderWidth	MarkInnerRadius	TicInnerRadius
Caption	MarkOuterRadius	TicLabel
CaptionColor	MarkStyle	TicLabelRadius
CaptionID	MarkUserDefined	TicOuterRadius
Captions	MarkWidth	Tics
CaptionX	MouseControl	TicStartValue
CaptionY	MousePointer	TicStopValue
Enabled	Name	TicStyle
FrameColor	OutlineAlign	TicWidth
FramePicture	OutlineColor	Top
FrameScaleX	OutlineTitle	Visible
FrameScaleY	OutlineWidth	Width
FrameStyle


   LED Control

Properties	Events

Description:

This control displays a variety of LED styles including rectangular, circular, and user supplied bitmaps.  The control can display a single LED as an on/off indicator or it may be configured as an array of horizontal or vertical LEDs to indicate an array of on/off indicators (Bitwise Mode) or a gauge or linear meter (Value Mode).  The mouse can be used for input when the MouseControl property is set to True.  The control include bevels for a 3D appearance.

Horizontal Examples:

Bitmap LEDs (All off)

Bitmap LEDs (All on)

Bitmap Dip Switches (Bitwise Mode)

Circular LEDs (Bitwise Mode)

Rectangular LEDs (Value Mode)

Vertical Examples:

    Equilizer	Thermometer


LED Events
Events

Click

GotFocus

LostFocus


LED roperties
Properties

AutoSize	Index	OffPictureGreen
BackColor	LEDColor	OffPictureRed
BackgroundPicture	LEDHeight	OffPictureYellow
BevelInner	LEDIndex	OnPictureGreen
BevelOuter	LEDSep	OnPictureRed
BevelWidth	LEDStatus	OnPictureYellow
BorderHorizontal	LEDStyle	TabIndex
BorderVertical	LEDWidth	TabStop
BorderWidth	Left	Tag
DecauRate	MaxDecay	Top
Direction	Mode	Value
Enabled	MouseControl	Visible
Height	Name	Width
HelpContexID	NumLEDs


Odom Events
Events

Click

GotFocus

LostFocus

Reset


Odom Properties
Properties

BackColor	FontName	ResetButton
BevelInner	FontSize	ResetPicture
BevelOuter	FontStrikeThru	TabIndex
BevelWidth	FontUnderline	TabStop
BordwerWidth	Height	Tag
Decimal	HelpContextID	Top
Digits	Index	Value
Enabled	Left	Visible
FontBold	MousePointer	Width
FontItalic	Name


   Odometer Control

Properties	Events

Description:

The Odometer Control displays a simple odometer which has properties for font control, optional reset button, number of digits and number of decimal values.  If a reset button is desired, the mouse may be used to reset the odometer.  The control includes bevels for a 3D appearance.


Product Support

Product support for Instrumentation Custom Control Library is available to registered users by contacting Global Majic Software, Inc. at the following locations:

Global Majic Software, Inc.

P.O. Box 322

Madison, Alabama  35758

CompuServe:  73261,3642

Internet:   73261.3642@compuserve.com

Product Support is free for a period of three (3) months from the date of registration.


Registration
Registration.

Mail completed form with payment to:

Global Majic Software, Inc.

P.O. Box 322

Madison, Alabama  35758

Make check or money order out to:  Global Majic Software, Inc.

Allow two weeks for personal check processing.

Name:	____________________________________

Address:	____________________________________

____________________________________

City, State,Zip:	____________________________________

Phone:	________________

Fax:	________________

E-mail address:	____________________________

Instrumentation Custom Control Library Ver 2.0

QTY	Amount

REGISTRATION: $40 	______	__________

Source Codes:  (You must register to order source code)

AIR.VBX:	$40	__________

CARGAUGE.VBX 	$40	__________

GAUGE.VBX	$40	__________

KNOB.VBX	$40	__________

LED.VBX	$20	__________

ODOMETER.VBX	$10	__________

SELECTOR.VBX	$40	__________

SLIDER.VBX	$30	__________

TOGGLE.VBX	$20	__________

All Code	$125	__________

Foreign addresses add $5 shipping	__________

Total:	__________

Out of curiosity, where did you

come across this software:         _______________________________


Registration Through Compuserve
Registration For Compuserve Users

The Instrumentation Custom Control Library is available for registration through Compuserves Shareware Registration service.  All registrations through SWREG are billed to your Compuserve account on your next bill.

GO SWREG

Select Registration ID 6306

The registration fee is (US) $40 with a Shipping & Handling fee of (US) $5 for all registrations outside United States.

If you would like the registered software delivered to your Compuserve account, please notify GMS at the same time you register through SWREG.  We can be reached at 73261,3642.


  Selector Control

Properties	Events

Description:

This control is a highly customizable selector switch.  Properties are provided to modify the knob and mark styles, selections, line, offsets, captions, border and background.  The mouse may optionally be used to change selector settings.

Selections:

Each switch may have several possible selections.  The caption, color, alignment, and offset of each selection is controlled by the user.  Additionally, there are automatic features that define the control with minimal work required.

Lines and Offsets:

The control's lines are controlled by the user.  Properties are available to change line's inner radius and thickness as well as whether or not lines are visible.  Offsets, on the other hand, may be controlled by either the contol or the user.  The length and angle of each offset can be set.

Knob:

There are several styles of knobs that may be used in the selector switch control.  Properties are provided to modify the knob's style, inner-outer radii, width, and color.  Additionally, user defined shapes may be specified.

Mark:

Each knob may be adorned with a single mark.  Properties are provided to modify the mark's style, inner-outer radii, width, and color.  Additionally, user defined mark shapes may be incorporated into the control.

Captions:

The control can be embellished with multiple captions to indicate the type of measurement being displayed, units used or any other informative or decorative labeling.  These captions are in no way related to the captions defined for each selection.


   Slider Control

Properties	Events

Description:

The Slider Custom Control is highly versatile and customizable, designed to allow the user to easily create any control, gauge, meter, etc. that incorporates a sliding mechanism in its functioning.  The control is equipped with properties to change the On/Off characteristics of the sliding bar, the background, the tic marks, and the knob handle.  Properties have been included to control both direction (forward or backward) and orientation (vertical or horizontal).

Bar Properties:

The slider bar properties allow the user to manipulate the On/Off characteristics of the slider separately.  The user can either use a color or a bitmap to fill the On or Off bar area.  Also, the width, border, and position of the bar can be controlled through the properties.  The On/Off Bitmap Sample below utilizes the bitmap capability of the Slider Control and displays the same configuration with the Orientation Property set vertically and horizontally.  In this sample, the BarInner Property is set to its minimum (0) and the BarOuter Property is set to its maximum(1), which maximizes the slider bar width on the control.

Knob Properties:

There are also properties available to manipulate a knob.  Knob properties exist for scaling, offset, color, shape, and bitmap.  The first sample shows a green rectangular knob;  The second sample shows the same control with a green circular knob; and the last sample shows the same control with a circular bitmap.

Tic Properties:

Tic properties were set up in an array fashion.  The user can place as many sets of tic marks on any slider control as he likes.  The first step is to adjust the Tics Property to tell the VBX how many sets of tic marks there will be.  The second step is to tell the VBX which set of tic marks you wish to adjust by using the TicID Property.  Each set of tic marks can be adjusted with color, increment, start and stop value, size, and placement.  See the Multiple Tics Sample at the top of this page.


Slider Events
Events

Change

Click

GotFocus

LostFocus

MouseMove


Slider Properties
Properties

BackColor	HelpContextID	Orientation
BackPicture	Index	TabIndex
BarBorder	KnobColor	TabStop
BarInner	KnobOffset	Tag
BarOuter	KnobPicture	TicColor
BevelInner	KnobStyle	TicDelta
BevelOuter	KnobXScale	TicID
BevelWidth	KnobYScale	TicInner
BorderWidth	Left	TicLabelOn
Direction	Max	TicLabelPosition
Enabled	Min	TicOuter
FontBold	MouseControl	Tics
FontItalic	MousePointer	TicStart
FontName	Name	TicStop
FontSize	OffColor	Top
FontStrikeThru	OffPicture	Value
FontUnderline	OnColor	Visible
Height	OnPicture	Width


Toggle Events
Events

Click

DragDrop

GotFocus

LostFocus

MouseDown

MouseMove

MouseUp


Toggle Properties
Properties

AutoSize	Index	OnY
BackColor	Left	Outline
BevelInner	MousePointer	OutlineColor
BevelOuter	OffBackColor	PushPicture
BevelWidth	OffCaption	PushX
BlinkMode	OffForeColor	PushY
BlinkRate	OffPicture	Sound
BorderWidth	OffWave	TabIndex
Enabled	OffX	TabStop
FontBold	OffY	Tag
FontItalic	OnBackColor	Top
FontName	OnCaption	TwoState
FontSize	OnForeColor	Value
FontStrikethru	OnPicture	Visible
FontUnderline	OnTimer	Width
Height	OnWave
HelpContextID	OnX


   Toggle Switch Control

Properties	Events

Description:

Toggle Switch Control is a TRUE/FALSE, YES/NO or ON/OFF indicator.  The control displays captions or pictures to represent the toggle state depending on the control's value.  The control is capable of playing wave files to indicate the switch turning on or off.  It includes bevels for a 3D appearance and blinking capability to draw attention to the control.  It also has a built in timed shut-off and blinking capability.

Remarks:

Wave files used with the control will not be stored in the control as the bitmap files are, therefore, all wave files need to accompany your application.  Be carefull with using many timers and blinking controls on a single form because windows has a limited number of timer handles.


What Is Shareware?

Shareware distribution gives users a chance to try software before buying it.  If you try a Shareware program and continue using it, you are expected to register.  Individual programs differ in detail -- some request registration while others require it, some specify a maximum trial period.  With registration, you get anything from the simple right to continue using the software to an updated program with printed manual.

Copyright laws apply to both Shareware and commercial software, and the copyright holder retains all rights, with a few specific exceptions as stated below.  Shareware authors are accomplished programmers, just like commercial programmers, and the programs are of comparable quality.  (in both cases there are good programs and bad ones!)  The main difference is in the method of distribution.  The author specifically grants the right to copy and distribute the software, either to all and sundry or to a specific group.  For example, some authors require written permission before a commercial disk vendor may copy their Shareware.

Shareware is a distribution method, not a type of software.  You should find software that suits your needs and pocketbook, whether it's commercial or Shareware.  The Shareware system makes fitting your needs easier, because you can try before you buy.  And because the overhead is low, prices are low also.  Shareware has the ultimate money-back guarantee -- if you don't use the product, you don't pay for it.

DISCLAIMER - AGREEMENT

Users of Instrumentation Custom Control Library must accept this disclaimer of warranty: "Instrumentation Custom Control Library is supplied as is.  The author disclaims all warranties, expressed or implied, including, without limitation, the warranties of merchantability and of fitness for any purpose.  The author assumes no liability for damages, direct or consequential, which may result from the use of Instrumentation Custom Control Library."

Instrumentation Custom Control Library is a "shareware library" and is provided at no charge to the user for evaluation.  Feel free to share it with your friends, but please do not give it away altered or as part of another system.  The essence of "user-supported" software is to provide personal computer users with quality software without high prices, and yet to provide incentive for programmers to continue to develop new products.  If you find this library useful and find that you are using Instrumentation Custom Control Library and continue to use Instrumentation Custom Control Library after a reasonable trial period, you must make a

registration payment of $40 to Global Majic Software, Inc.   The $40 registration fee will license one copy for use on any one computer at any one time.  You must treat this software just like a book.  An example is that this software may be used by any number of people and may be freely moved from one computer location to another, so long as there is no possibility of it being used at one location while it's being used by another.  Just as a book cannot be read by two different persons at the same time.

Commercial users of Instrumentation Custom Control Library must register and pay for their copies of Instrumentation Custom Control Library within 30 days of first use or their license is withdrawn.  Site-License arrangements may be made by contacting Global Majic Software, Inc.

Anyone distributing Instrumentation Custom Control Library for any kind of remuneration must first contact Global Majic Software, Inc. at the address below for authorization.

You are encouraged to pass a copy of Instrumentation Custom Control Library along to your friends for evaluation.  Please encourage them to register their copy if they find that they can use it.  All registered users will receive a copy of the latest version of Instrumentation Custom Control Library.

CONTACTING GLOBAL MAJIC SOFTWARE, INC.

Global Majic Software, Inc.

P.O. Box 322

Madison, Alabama  35758

CompuServe:  73261,3642

Internet:   73261.3642@compuserve.com


Why Register?

Register because you find the software useful and you feel the efforts put into writing the code are worth compensating.

Register because you would like to be informed of updates to this software.

Register because you want to encourage the author to spend time to develop other useful shareware software.

Register because you would like to have technical support.

Register because you want to get rid of those annoying sign-on banners.


selector_properties
Properties:

AutoAlign	FrameScaleX	MouseControl
AutoAngle	FrameScaleY	MousePointer
AutoOffset	FrameStyle	Name
AutoOffsetDistance	Height	OutlineAlign
AutoOffsetStyle	Highlight	OutlineColor
AutoRadius	HighlightColor	OutlineTitle
AutoStartAngle	Index	OutlineWidth
AutoStopAngle	KnobColor	SelectionAlign
BackgroundColor	KnobOriginX	SelectionAngle
BackgroundPicture	KnobOriginY	SelectionCaption
BevelInner	KnobRadius	SelectionColor
BevelOuter	KnobStyle	SelectionID
BevelWidth	KnobUserDefined	SelectionOffsetX
BorderType	Left	SelectionOffsetY
BorderWidth	LineDisplay	SelectionRadius
Caption	LineInnerRadius	Selections
CaptionColor	LineThickness	TabIndex
CaptionID	MarkColor	TabStop
Captions	MarkInnerRadius	Tag
CaptionX	MarkOuterRadius	Top
CaptionY	MarkStyle	Value
Enabled	MarkUserDefined	Visible
FrameColor	MarkWidth	Width
FramePicture